﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.A
{
    public class ATestInfo
    {
        public ATestInfo() { }

        public ATestInfo(string sn, DateTime recordTime, string typeID, bool testStep, string userID, bool isPass)
        {
            this.SN = sn;
            this.RecordTime = recordTime;
            this.TypeID = typeID;
            this.TestStep = testStep;
            this.UserID = userID;
            this.IsPass = isPass;
        }

        public string SN { get; set; }
        public DateTime RecordTime { get; set; }
        public string TypeID { get; set; }
        public bool TestStep { get; set; }
        public string UserID { get; set; }
        public bool IsPass { get; set; }

        public string TestStepName { get { return TestStep ? "老化后" : "老化前"; } }
    }
}
